package com.thoughtworks;

import java.io.PrintStream;

public class Printer {

    private final PrintStream printer;

    public Printer(PrintStream out) {
        printer = out;
    }

    public void print(String message) {
        printer.println(message);
    }
}